package cn.liccshop.core.service.shopGoodsComment.service;

import cn.liccshop.core.entity.ShopGoodsComment;
import cn.liccshop.sys.exception.MySystemException;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商品评论表 服务类
 * </p>
 *
 * @author LiCC
 * @since 2019-05-13
 */
public interface IShopGoodsCommentService extends IService<ShopGoodsComment> {

    /**
     * 消费者提交订单商品评价信息
     * @param goodsComment orderGoodsId
     * @throws MySystemException
     */
    void orderCommentSubimt(ShopGoodsComment goodsComment, String orderGoodsId) throws MySystemException;

    /**
     * 获取分页数据
     * @param map
     * @return
     */
    Map<String, Object> liccCommontInfoByPage(Map<String, Object> map);
}
